//
//  ModelOFComment_entryCommend.m
//  FreeTravel
//
//  Created by 徐康 on 16/8/31.
//  Copyright © 2016年 KX. All rights reserved.
//

#import "ModelOFComment_entryCommend.h"

@implementation ModelOFComment_entryCommend
- (void)setValue:(id)value forKey:(NSString *)key{
    if ([key isEqualToString:@"title"]) {
        self.title = value;
    }if ([key isEqualToString:@"url"]) {
        self.url = value;
    }if ([key isEqualToString:@"icon_url"]) {
        self.icon_url = value;
    }if ([key isEqualToString:@"need_login"]) {
        self.need_login = [value integerValue];
    }if ([key isEqualToString:@"page_title"]) {
        self.page_title = value;
    }if ([key isEqualToString:@"target"]) {
        self.target = [value integerValue];
    }
}
@end
